package router

import (
	"api-gateway/handler/api"
	"github.com/gin-gonic/gin"
)

func AddressRouter(v1 *gin.RouterGroup) {
	address := v1.Group("/address")
	{
		address.POST("/addressCreate", api.AddressCreate)     //收货地址添加
		address.GET("/addressList", api.AddressList)          //收货地址列表
		address.POST("/addressDel", api.AddressDel)           //收货地址删除
		address.POST("/RealTimeExpress", api.RealTimeExpress) //实时物流查询
		address.POST("/createSales", api.CreateSales)         //售后创建
	}
}
